from django.template import Library
from django.shortcuts import get_object_or_404
from datetime import date
from crm.models import Organisation

register = Library()

@register.inclusion_tag("crm_organisation_table.html")
def list_crm_organisations(set = Organisation.objects.all()):
  return {'organisation_list': set}
